package io.xxx.walle.room;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.cursor.Cursor;

import java.util.List;

@Mapper
public interface RoomMapper extends BaseMapper<Room> {

    Cursor<Room> selectCursorByTask(@Param("taskId") Long taskId);

    void updateRoomGroup(@Param("roomGroupId") Long roomGroupId, @Param("list") List<Long> roomIds);
}
